package com.example.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.example.mybatis.service.impl.CrudServiceImpl;
import com.example.dao.SpecValuesDao;
import com.example.dto.SpecValuesDTO;
import com.example.entity.SpecValuesEntity;
import com.example.service.SpecValuesService;
import com.example.utils.ConvertUtils;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 规格值表
 *
 * @author yyyyjinying 1020066395@qq.com
 * @since 1.0-SNAPSHOT 2025-04-29
 */
@Service
public class SpecValuesServiceImpl extends CrudServiceImpl<SpecValuesDao, SpecValuesEntity, SpecValuesDTO> implements SpecValuesService {

    @Override
    public QueryWrapper<SpecValuesEntity> getWrapper(Map<String, Object> params){
        QueryWrapper<SpecValuesEntity> wrapper = new QueryWrapper<>();


        return wrapper;
    }


    @Override
    public void deleteBySpecId(Long specId) {
        baseDao.deleteBySpecId(specId);
    }

    @Override
    public List<SpecValuesEntity> getBySpecId(Long specId) {
        return baseDao.getBySpecId(specId);
    }

}